<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>区块链物流管理系统 - 首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            width: 900px;
            max-width: 95%;
            min-height: 600px;
            display: flex;
        }

        .sidebar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 40px 30px;
            width: 300px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .sidebar h1 {
            font-size: 28px;
            margin-bottom: 20px;
            text-align: center;
        }

        .sidebar p {
            font-size: 14px;
            line-height: 1.6;
            opacity: 0.9;
            text-align: center;
        }

        .main-content {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .welcome-text {
            text-align: center;
            margin-bottom: 50px;
        }

        .welcome-text h2 {
            font-size: 28px;
            color: #333;
            margin-bottom: 15px;
        }

        .welcome-text p {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
        }

        .navigation-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            width: 100%;
            max-width: 600px;
        }

        .nav-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid #f0f0f0;
            cursor: pointer;
        }

        .nav-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }

        .nav-card .icon {
            font-size: 50px;
            margin-bottom: 20px;
        }

        .nav-card h3 {
            font-size: 20px;
            color: #333;
            margin-bottom: 10px;
        }

        .nav-card p {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
        }

        .nav-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .nav-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .system-info {
            margin-top: 50px;
            text-align: center;
            color: #888;
            font-size: 13px;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fade-in {
            animation: fadeInUp 0.6s ease;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="sidebar">
            <h1>🚚 区块链物流</h1>
            <p>基于区块链技术的现代化物流管理系统，确保数据安全、透明、不可篡改。</p>
        </div>

        <div class="main-content">
            <div class="welcome-text fade-in">
                <h2>欢迎使用区块链物流管理系统</h2>
                <p>选择您需要访问的功能模块，体验安全高效的物流管理服务</p>
            </div>

            <div class="navigation-grid">
                <!-- 用户管理模块 -->
                <div class="nav-card fade-in" style="animation-delay: 0.2s;">
                    <div class="icon">👤</div>
                    <h3>用户管理</h3>
                    <p>管理系统用户，包括注册新用户和验证用户身份</p>
                    <a href="user.html" class="nav-button">进入用户管理</a>
                </div>

                <!-- 承运商管理模块 -->
                <div class="nav-card fade-in" style="animation-delay: 0.4s;">
                    <div class="icon">🚚</div>
                    <h3>承运商管理</h3>
                    <p>管理物流承运商，包括注册、验证和查询物流信息</p>
                    <a href="carrier.html" class="nav-button">进入承运商管理</a>
                </div>
            </div>

            <div class="system-info fade-in" style="animation-delay: 0.6s;">
                <p>© 2025 区块链物流管理系统 - 基于区块链技术构建</p>
            </div>
        </div>
    </div>

    <script>
        // 页面加载完成后的初始化
        document.addEventListener('DOMContentLoaded', function() {
            console.log('区块链物流管理系统首页已加载');
        });
    </script>
</body>
</html>